package com.conlen.entity.order;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author conlen.he
 * @since 2024-07-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "rec_id", type = IdType.AUTO)
    private Integer recId;

    /**
     * 逻辑关联wh_batch
     */
    @TableField("batch_id")
    private Integer batchId;

    /**
     * 订单id
     */
    @TableField("order_id")
    private Long orderId;

    /**
     * 订单优先级，值越大优先级越高
     */
    @TableField("order_priority")
    private Integer orderPriority;

    /**
     * 20有效 , 21无效，30已picking
     */
    @TableField("status")
    private Integer status;

    @TableField("in_user")
    private String inUser;

    @TableField("in_dtm")
    private Integer inDtm;

    @TableField("edit_user")
    private String editUser;

    @TableField("edit_dtm")
    private Integer editDtm;


}
